package com.fqgj.xjd.user.client.request;

import com.fqgj.xjd.user.client.enums.UserBindCardTypeEnum;
import com.fqgj.xjd.user.client.enums.UserCardStatusEnum;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/3/10
 * Time: 下午3:37
 */
public class UserBank implements Serializable {

    private static final long serialVersionUID = 2587698132038328503L;

    private String userCode;

    private String code;

    private String name;
    
    //银行卡号
    private String number;
    
    private Mobile mobile;
    
    private UserBindCardTypeEnum bankProviderEnum;
    
    private Boolean bindSuccess = false;

    private String flagChannel;//应用标识

    private UserCardStatusEnum userCardStatusEnum;
    public UserBank() {
    }

    public UserBank(String userCode) {
        this.userCode = userCode;
    }

    public UserBank(String userCode, String code,String name,String number, UserBindCardTypeEnum bankProviderEnum) {
        this.userCode = userCode;
        this.code = code;
        this.name = name;
        this.number = number;
        this.bankProviderEnum = bankProviderEnum;
    }
    
    public UserBank(String userCode, String code,String name, String number, Mobile mobile, UserBindCardTypeEnum bankProviderEnum) {
        this.userCode = userCode;
        this.code = code;
        this.name = name;
        this.number = number;
        this.mobile = mobile;
        this.bankProviderEnum = bankProviderEnum;
    }
    
    public UserBank(String userCode, String code,String name, String number, Mobile mobile, Boolean bindSuccess) {
        this.userCode = userCode;
        this.code = code;
        this.name = name;
        this.number = number;
        this.mobile = mobile;
        this.bindSuccess = bindSuccess;
    }

    public UserBindCardTypeEnum getBankProviderEnum() {
        return bankProviderEnum;
    }

    public UserBank setBankProviderEnum(UserBindCardTypeEnum bankProviderEnum) {
        this.bankProviderEnum = bankProviderEnum;
        return this;
    }

    public String getUserCode() {
        return userCode;
    }

    public UserBank setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public String getCode() {
        return code;
    }

    public UserBank setCode(String code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public UserBank setName(String name) {
        this.name = name;
        return this;
    }

    public String getNumber() {
        return number;
    }

    public UserBank setNumber(String number) {
        this.number = number;
        return this;
    }

    public Boolean getBindSuccess() {
        return bindSuccess;
    }

    public UserBank setBindSuccess(Boolean bindSuccess) {
        this.bindSuccess = bindSuccess;
        return this;
    }

    public Mobile getMobile() {
        return mobile;
    }

    public UserBank setMobile(Mobile mobile) {
        this.mobile = mobile;
        return this;
    }

    public String getFlagChannel() {
        return flagChannel;
    }

    public UserBank setFlagChannel(String flagChannel) {
        this.flagChannel = flagChannel;
        return this;
    }

    public UserCardStatusEnum getUserCardStatusEnum() {
        return userCardStatusEnum;
    }

    public UserBank setUserCardStatusEnum(UserCardStatusEnum userCardStatusEnum) {
        this.userCardStatusEnum = userCardStatusEnum;
        return this;
    }
}
